package com.example.feigin;

import com.example.fanqie.entity.Novel;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "fq-other", fallback = OtherActionHystrix.class)
public interface OtherAction {
    @PostMapping("/selectlist")
    Object selectlist(@RequestBody Novel novel);
}